package com.yixin.service;

import com.yixin.entity.Emp;
import com.yixin.entity.LoginInfo;
import com.yixin.entity.PageResult;
import com.yixin.entity.EmpQueryParam;

import java.util.List;

public interface EmpService {
    void add(Emp emp);

    void update(Emp emp);

    void deleteByIds(List<Integer> ids);

    PageResult<Emp> findPage(EmpQueryParam param);

    LoginInfo login(Emp emp);
}
